package com.yanyingkun.model;


public class Restaurant {

    private String name;
    private String location;
    private String cuisine;

    // 带参数的构造函数
    public Restaurant(String name, String location, String cuisine) {
        this.name = name;
        this.location = location;
        this.cuisine = cuisine;
    }

    // Getter 方法
    public String getName() {
        return name;
    }

    public String getLocation() {
        return location;
    }

    public String getCuisine() {
        return cuisine;
    }

    // Setter 方法
    public void setName(String name) {
        this.name = name;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setCuisine(String cuisine) {
        this.cuisine = cuisine;
    }
}
